Skip to content

Updates to support contract verification via etherscan V2 API #1166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 12, 2025

Conversation

rokso
Copy link
Contributor

@rokso rokso commented Jun 10, 2025

This PR adds support for contract verification via etherscan V2 API.

  • hardhat-verify dependency is updated to latest
  • chainid param is added in etherscan API call.

Fixes #1165

Copy link
Member

@ericglau ericglau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I tested this out and it works great. The latest version of hardhat-verify itself has a peer dependency on hardhat ^2.24.1, so I also updated the peer dependencies for both.

@ericglau ericglau requested a review from CoveMB June 11, 2025 13:58
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License

View full report

@CoveMB
Copy link
Contributor

CoveMB commented Jun 12, 2025

Thanks 🌻

@ericglau ericglau merged commit dd917e2 into OpenZeppelin:master Jun 12, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

With the updated version of etherscan V1 -> V2 the chainId is missing
3 participants